package se.kth.ict.id2203.abortableconsensus;

import se.kth.ict.id2203.pp2p.Pp2pDeliver;
import se.sics.kompics.address.Address;

public class WriteAckMessage extends Pp2pDeliver {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 813746424389207368L;
	private int id;
	private int wts;
	private Integer val;
	private int ts;
	
	protected WriteAckMessage(Address source, int id, int wts, Integer val, int ts) {
		super(source);
		this.id = id;
		this.wts = wts;
		this.val = val;
		this.ts = ts;
	}
	
	public final int getId() {
		return id;
	}
	
	public final int getWts() {
		return wts;
	}
	
	public final Integer getVal() {
		return val;
	}
	
	public final int getTimeStamp() {
		return ts;
	}

}
